home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / renewdlg.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-10  |  1.2 KB  |  61 lines

  1. // RenewDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "SlsDemo.h"
  6. #include "RenewDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CRenewDlg dialog
  16.  
  17.  
  18. CRenewDlg::CRenewDlg(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CRenewDlg::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CRenewDlg)
  22.         // NOTE: the ClassWizard will add member initialization here
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CRenewDlg::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CRenewDlg)
  31.         // NOTE: the ClassWizard will add DDX and DDV calls here
  32.     //}}AFX_DATA_MAP
  33. }
  34.  
  35.  
  36. BEGIN_MESSAGE_MAP(CRenewDlg, CDialog)
  37.     //{{AFX_MSG_MAP(CRenewDlg)
  38.     ON_BN_CLICKED(IDC_RENEW, OnRenew)
  39.     ON_BN_CLICKED(IDC_CONTINUE, OnContinue)
  40.     ON_BN_CLICKED(IDC_EXIT, OnExit)
  41.     //}}AFX_MSG_MAP
  42. END_MESSAGE_MAP()
  43.  
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CRenewDlg message handlers
  46.  
  47. void CRenewDlg::OnRenew() 
  48. {
  49.     EndDialog(IDC_RENEW);
  50. }
  51.  
  52. void CRenewDlg::OnContinue() 
  53. {
  54.     EndDialog(IDC_CONTINUE);
  55. }
  56.  
  57. void CRenewDlg::OnExit() 
  58. {
  59.     EndDialog(IDC_EXIT);
  60. }
  61.